<% //主页 layout("/inc/layout.html",{ <%
layout("/common/layout.html",{"title":"主页"}){ %>
<div class="row wrapper border-bottom white-bg page-heading">
	<div class="col-sm-8">
		<h2>一窗多办</h2>
		<ol class="breadcrumb">
			<li><a href="${ctxPath}/windowOffices/view/index">主页</a></li>
			<li class="active">部门列表</li>
		</ol>
	</div>
</div>

<div class="wrapper wrapper-content">
		<div class="row mt15">
		      <!-- 搜索-->
 <% include("/windowOffices/search_bar.html"){} %> 
      <!-- 搜索-->
			<div class="panel panel-default">
				<div class="panel-heading text-center">
					<h5>一窗多办部门列表</h5>
				</div>
				<div class="panel-body text-center">

					<% if(isNotEmpty(orgList)){ for(org in orgList){ %>
					<div class="col-xs-4 col-sm-2 col-md-2 sudoku">
						<a href="/windowOffices/dept/${org.orgCode}"
							class="thumbnail color-${orgLP.index%6+1}">
							<div class="text">${org.orgName!}</div>
						</a>
					</div>

					<%} }%>

				</div>
			</div>
		</div>

</div>

<% } %>
<script>
require(['windowOffices/windowOffices'], function (windowOffices) {
    windowOffices.init();
});

</script>
</body>
</html>